package com.phkj.qdh.net

import com.google.gson.annotations.SerializedName

/**
 * @ProjectName:    KotlinCoroutine
 * @Package:        com.blue.kotlincoroutine.net
 * @ClassName:      MDFResponse
 * @Description:    数据返回基类
 * @Author:         BLUE
 * @CreateDate:     6/1/21 4:43 PM
 * @UpdateUser:     更新者
 * @UpdateDate:     6/1/21 4:43 PM
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */

data class BaseResponse<T>(
    @SerializedName("code")
    val code: Int,
    @SerializedName("error")
    val error: String = "",
    @SerializedName("reason")
    val reason: String = "",
    @SerializedName("data")
    val data: T

)